﻿@page "/user"
@inherits AdminCompontentBase

<PageTitle>
    @T(Title)
</PageTitle>

<SElevationTab Class="defaultTab full-height" ActiveClass="fill-background" TabsClass="white" TabMinWidth="120" Left Tabs="Tags" Dense>
    <SElevationTabItem>
        <User @ref=UserRef StaffComponent=StaffRef ThirdPartyUserComponent=ThirdPartyUserRef />          
    </SElevationTabItem>
    <SElevationTabItem>
        <ThirdPartyUser @ref=ThirdPartyUserRef />          
    </SElevationTabItem>
    <SElevationTabItem>
        <Staff @ref=StaffRef UserCompontent=UserRef />         
    </SElevationTabItem>
</SElevationTab>

@code {
    public string Title { get; set; } = PageTab.User;

    List<string> Tags = new() { PageTab.User, PageTab.ThirdPartyUser, PageTab.Staff };

    User? UserRef { get; set; }

    Staff? StaffRef { get; set; }

    ThirdPartyUser? ThirdPartyUserRef { get; set; }
}